GtkSpinButton: Prevent public API from unsetting the adjustment
authorDebarshi Ray <debarshir@gnome.org>
Tue, 12 Aug 2014 15:45:53 +0000 (17:45 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 14 Aug 2014 03:42:11 +0000 (23:42 -0400)
commit137abd6f7083bcdb4c6df1102303f0e3ab905940
treee36ef06c45ebb70908c9935e5e77e74e684895e7
parent1e304e6debd9045fbe2c7ba01865e7ea2dbff22b
GtkSpinButton: Prevent public API from unsetting the adjustment

A spin button really needs an adjustment to work. So don't let the
user unset the adjustment by passing NULL to
gtk_spin_button_set_adjustment.

https://bugzilla.gnome.org/show_bug.cgi?id=734660
gtk/gtkspinbutton.c